<nav class="clearfix">
    <ul class="pagination pull-right" style="margin:0">
        <li><a href="" ng-click="go(page.response.currentPage-1)"
               ng-if="page.response.currentPage-1>0">&laquo;</a></li>
        <li><a href="" ng-click="go(page.response.currentPage-3)" ng-if="page.response.currentPage-3>0">{{page.response.currentPage-3}}</a>
        </li>
        <li><a href="" ng-click="go(page.response.currentPage-2)" ng-if="page.response.currentPage-2>0">{{page.response.currentPage-2}}</a>
        </li>
        <li><a href="" ng-click="go(page.response.currentPage-1)" ng-if="page.response.currentPage-1>0">{{page.response.currentPage-1}}</a>
        </li>
        <li class="active"><a href="">{{page.response.currentPage}}</a></li>
        <li><a href="" ng-click="go(page.response.currentPage+1)"
               ng-if="page.response.currentPage+1<=page.response.totalPage">{{page.response.currentPage+1}}</a>
        </li>
        <li><a href="" ng-click="go(page.response.currentPage+2)"
               ng-if="page.response.currentPage+2<=page.response.totalPage">{{page.response.currentPage+2}}</a>
        </li>
        <li><a href="" ng-click="go(page.response.currentPage+3)"
               ng-if="page.response.currentPage+3<=page.response.totalPage">{{page.response.currentPage+3}}</a>
        </li>
        <li><a href="" ng-click="go(page.response.currentPage+1)"
               ng-if="page.response.currentPage+1<=page.response.totalPage">&raquo;</a></li>
    </ul>
</nav>